package com.qijian.quality.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qijian.quality.domain.InspectionResultRecordDetail;
import org.apache.ibatis.annotations.Select;

/**
 * 质检结果记录详情Mapper接口
 *
 * @author qijian
 * @date 2025-03-28
 */
public interface InspectionResultRecordDetailMapper extends BaseMapper<InspectionResultRecordDetail> {

    @Select("select count(0) from inspection_result_record_detail WHERE create_time >= CURRENT_DATE ")
    int countCurrentDateWithDel();
}
